export interface User {
  id: number
  username: string
  email: string
  firstName: string
  lastName: string
  enabled: boolean
  roles: Role[]
}

export interface Role {
  id: number
  name: string
}

export interface LoginRequest {
  username: string
  password: string
}

export interface RegisterRequest {
  username: string
  email: string
  password: string
  firstName?: string
  lastName?: string
  role?: string[]
}

export interface JwtResponse {
  token: string
  type: string
  id: number
  username: string
  email: string
  roles: string[]
}